home *** CD-ROM | disk | FTP | other *** search
- #VRML V2.0 utf8
-
- ###################################################
- #
- # ü@ ò╢ï│æσèwÅ├ô∞âLâââôâpâX
- #
- #ü@ü@ì∞ɼÄ╥ü@ êΘæOöⁿùóüòôcæ║ê╗ÄqüòìLôαôNòvüiéâüj
- # ü@ ü£âfâUâCâôü@êΘæOöⁿùóüòôcæ║ê╗Äq
- #ü@ ü@ü£è┬ï½É▌ÆΦü@ìLôαôNòv
- #ü@ü@Åèæ«ü@ü@ò╢ï│æσèwÅεò±èwòöü@ìLôαâ[â~âiü[âï
- #ü@ü@ì∞ɼô·ü@éQéOéOéPöNéQîÄéPô·
- #ü@ü@û│Æfëⁿò╧üAû│Æfözòzé≡ï╓é╢é▄é╖üB
- #
- ###################################################
-
- ######## ï≤é╠âpâmâëâ} #############################
- Background{
- backUrl "myclouds.jpg"
- bottomUrl "myclouds.jpg"
- frontUrl "myclouds.jpg"
- leftUrl "myclouds.jpg"
- rightUrl "myclouds.jpg"
- topUrl "myclouds.jpg"
- }
-
- ######### Å╞û╛ü@##################################
- DirectionalLight{
- direction 1 0 0
- intensity 0.6 #0.3
- on TRUE
- }
- DirectionalLight{
- direction 0 1 0
- intensity 0.3 #0.3
- on TRUE
- }
- DirectionalLight{
- direction 0 0 1
- intensity 0.3 #0.3
- on TRUE
- }
- DirectionalLight{
- direction -1 0 0
- intensity 0.3 #0.3
- on TRUE
- }
- DirectionalLight{
- direction 0 -1 0
- intensity 0.99 #0.6
- on TRUE
- }
- DirectionalLight{
- direction 0 0 -1
- intensity 0.3 #0.3
- on TRUE
- }
-
- ##################Äïô_#####################
- Viewpoint {
- position -20 40 220
- orientation 0 1 0 0
- description "scene1"
- }
- Viewpoint {
- position -326 40 60
- orientation 0 1 0 -1.57
- description "scene2"
- }
- Viewpoint {
- position -30 60 -320 #27 60 -320
- orientation 0 1 0 -3.14
- description "scene3"
- }
- Viewpoint {
- position 268 41 -47
- orientation 0 1 0 1.57
- description "scene4"
- }
- Viewpoint {
- position 60 4.3 -5
- orientation 0 1 0 1.57
- description "scene5"
- }
- Viewpoint {
- position -25.58 9.96 30.86
- orientation 0 1 0 0
- description "scene6"
- }
- Viewpoint {
- position -60.0076 7.2765 -1.538
- orientation 0 1 0 -1.57
- description "scene7"
- }
- Viewpoint {
- position 9.8997 8.27699 -69.9473
- orientation 0 1 0 -3.14
- description "scene8"
- }
- Viewpoint {
- position -74.7899 13.6265 14.6997
- orientation 0 1 0 -45
- description "scene9"
- }
- Viewpoint {
- position -42.5 45 105
- orientation 0 1 0 0
- description "scene10"
- }
- Viewpoint {
- position -68.0 47.4 22.3639
- orientation 0 1 0 -1.57
- description "scene11"
- }
-
- DEF viewA Viewpoint{ #Æ╩Åφé╠ë±ô]
- position 0 10 0
- orientation 0 1 0 0
- description "movie1"
- }
- DEF viewB Viewpoint{ #JavaScripté╔éµéΘë±ô]
- position 0 10 0
- orientation 0 1 0 -1.25
- description "movie2"
- }
- DEF viewC Viewpoint{ #JavaScripté╔éµéΘë±ô]
- position 0 10 0
- orientation 0 1 0 -1.25
- description "movie3"
- }
-
- ######ü@âiârâQü[âVâçâôÅεò±ü@########################
- NavigationInfo{
- avatarSize[ 0.1 1.6 1.0]
- speed 5.0
- type ["FLY","ANY"]
- }
-
- ###### îiè╧ü@#######################################
- Transform{
- translation 0 0 0
- children[
- Inline{
- url "shonanhead.wrl"
- }
- ]
- }
-
- ####################################################
- # Æ╩Åφé╠ë±ô]ɺîΣé╔éµéΘìZÆδôαÄⁿë±
- ####################################################
- DEF OInterpol OrientationInterpolator{
- key [
- 0.0,
- 0.5,
- 1.0
- ]
- keyValue [
- 0 1 0 0.000,
- 0 1 0 -3.1416,
- 0 1 0 -6.2832
- ]
- }
- DEF Timer1 TimeSensor{
- cycleInterval 60
- loop TRUE
- }
- ROUTE Timer1.fraction_changed TO OInterpol.set_fraction
- ROUTE OInterpol.value_changed TO viewA.set_orientation
-
-
- ####################################################
- # JAVASCRIPTɺîΣé╔éµéΘìZÄ╔êΩÄⁿüiéPüj
- ####################################################
- DEF TIMER2 TimeSensor{
- cycleInterval 100
- loop TRUE
- }
- #........................................................
- DEF SPIN OrientationInterpolator{
- key [
- 0.0000,
- 0.5000,
- 1.0000
- ]
- keyValue [
- 0 1 0 -0.000,
- 0 1 0 -3.1416,
- 0 1 0 -6.2832
- ]
- }
- #ìZÄ╔Äⁿë±................................................
- DEF OutRoad Script{
- eventIn SFFloat set_coord_road
- eventOut SFVec3f coord_road_changed
- url "javascript:
- function set_coord_road(a){
- coord_road_changed[0]=0+250*Math.sin(3.141592*2*a);
- coord_road_changed[1]=30;
- coord_road_changed[2]=0+250*Math.cos(3.141592*2*a);
- }"
- }
- ROUTE TIMER2.fraction_changed TO SPIN.set_fraction
- #..........................................................
- ROUTE SPIN.value_changed TO viewB.set_orientation
- ROUTE TIMER2.fraction_changed TO OutRoad.set_coord_road
- ROUTE OutRoad.coord_road_changed TO viewB.set_position
- #..........................................................
-
- ####################################################
- # JAVASCRIPTɺîΣé╔éµéΘôâêΩÄⁿüiéQüj
- ####################################################
- DEF TIMER3 TimeSensor{
- cycleInterval 70
- loop TRUE
- }
- #........................................................
- DEF SPIN2 OrientationInterpolator{
- key [
- 0.0000,
- 0.5000,
- 1.0000
- ]
- keyValue [
- 0 1 0 -0.000,
- 0 1 0 -3.1416,
- 0 1 0 -6.2832
- ]
- }
- #ôâÄⁿë±................................................
- DEF Tower Script{
- eventIn SFFloat set_coord_tower
- eventOut SFVec3f coord_tower_changed
- url "javascript:
- function set_coord_tower(a){
- coord_tower_changed[0]=-65-4+50*Math.sin(3.141592*2*a);//80
- coord_tower_changed[1]=40;//50
- coord_tower_changed[2]=40-17.5+50*Math.cos(3.141592*2*a);//80
- }"
- }
- ROUTE TIMER3.fraction_changed TO SPIN2.set_fraction
- #..........................................................
- ROUTE SPIN2.value_changed TO viewC.set_orientation
- ROUTE TIMER3.fraction_changed TO Tower.set_coord_tower
- ROUTE Tower.coord_tower_changed TO viewC.set_position
- #..........................................................
-